package com.itheima.ydd.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.itheima.ydd.pojo.SysRole;
import com.itheima.ydd.pojo.SysUser;
import lombok.Data;

import java.util.List;

@Data
//后台用户需要管理名
public class SysUserDto extends SysUser {
    @JsonProperty("rolename")
    private List<String> rolenmae;
    @JsonProperty("role_id")
    private List<String> roleIdList;
}
